package com.jprocms.module.cms.controller.admin.content.tagvo;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static com.jpro.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - tag词 Excel 导出 Request VO")
@Data
@NoArgsConstructor
public class TagExportReqVO {

    @Schema(description = "tag词汇")
    private String tagName;

    @Schema(description = "站点ID")
    private Long siteId;

    @Schema(description = "创建人ID")
    private Long userId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] createTime;

    public TagExportReqVO(String tagName, Long siteId) {
        this.tagName = tagName;
        this.siteId = siteId;
    }
}
